package com.jeecg.demo.service;
import com.jeecg.demo.entity.CommodityvarietyEntity;
import com.jeecg.demo.entity.CommodityvarietyattrEntity;

import java.util.List;
import org.jeecgframework.core.common.service.CommonService;
import java.io.Serializable;

public interface CommodityvarietyServiceI extends CommonService{
 	public void delete(CommodityvarietyEntity entity) throws Exception;
	/**
	 * 添加一对多
	 * 
	 */
	public void addMain(CommodityvarietyEntity commodityvariety,
	        List<CommodityvarietyattrEntity> commodityvarietyattrList) throws Exception;
	/**
	 * 修改一对多
	 * 
	 */
	public void updateMain(CommodityvarietyEntity commodityvariety,
	        List<CommodityvarietyattrEntity> commodityvarietyattrList) throws Exception;
	        
	/**
	 * 删除一对多
	 * 
	 */
	public void delMain (CommodityvarietyEntity commodityvariety) throws Exception;
}
